STEP 5: Let's make our circle look like the sun by making it "gold".

  • Change the color to "gold". Make sure you don’t delete the quotes!
  • Click Run to see your changes.
  • The fourth parameter in the circle is the shape’s color.
  • The name of a color, like "gold", is a word or string that must have quotation marks " " around it.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# sprite = codesters.Circle(x, y, diameter, "color") sprite = codesters.Circle(-150, 175, 75, "blue")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)